package com.ruoyi.record.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.mybatisplus.core.BaseEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * 申请内容对象 record_society_content
 * 
 * @author ruoyi
 * @date 2023-11-23
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("record_society_content")
public class RecordSocietyContent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 内容id */
    @TableId(type = IdType.AUTO)
    private Long contentId;

    /** 申请id */
    @NotBlank(message = "申请id不能为空")
    @Excel(name = "申请id")
    private Long societyId;

    /** 学会名称 */
    @Excel(name = "学会名称")
    private String societyTitle;

    /** 开始时间 */
    @NotBlank(message = "开始时间不能为空")
    @Excel(name = "开始时间")
    private String startTime;

    /** 结束时间 */
    @Excel(name = "结束时间")
    private String endTime;

}
